package com.zealfi.wk.stream;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.integration.handler.AbstractReplyProducingMessageHandler;
import org.springframework.integration.router.AbstractMappingMessageRouter;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by kuan at 2018-05-11 上午 11:05
 */
@SpringBootApplication
public class App2Application {

    @Bean
    public AbstractMappingMessageRouter[] defaultMappingMessageRouter() {
        return null;
    }

    @Bean
    public List<AbstractReplyProducingMessageHandler> producingMessageHandlers() {
        return new ArrayList<>();
    }

    public static void main(String[] args) {
        SpringApplication.run(App2Application.class, args);
    }
}
